import http from "../utils/request";
//添加角色
export let addRoleApi = (roleid, token) =>
  http.post("/permission/addrole", {
    roleid,
    token,
  });
//获取角色列表
export let getRoleApi = (roleid, token) =>
  http.get("/permission/getrole?roleid=" + roleid + "&&token=" + token);
//获取权限菜单
export let getMenuApi = () => http.get("/permission/getMenuList");
